package com.yupi.springbootinit.model.dto.department;

import com.yupi.springbootinit.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 查询部门请求
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class DepartmentQueryRequest extends PageRequest implements Serializable {

    /**
     * id
     */
    private Long id;

    /**
     * 部门名称
     */
    private String departmentName;

    /**
     * 部门编号
     */
    private String departmentCode;

    private static final long serialVersionUID = 1L;
}